import http from '../utils/http.js'
const goods = {
	getClassify() {
		return http.get(`/goodsClassify`);
	},
	findAllName() {
		return http.get(`/goods/findAllName`);
	},
	findById(id) {
		return http.get(`/goods/${id}`);
	},
	find(params) {
		return http.get(`/goods`, params);
	}
}

export default goods;
